<template>
  <div>
    <div class="sup">
      {{$t('numofloginpwderr')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.loginPwdErrTimes" clearable size="mini" :disabled="true"></el-input>
    </div>
    <div class="sup">
      {{$t('loginpwdlasterr')}}
      <el-input :placeholder="$t('plsipt')" v-model.trim="userInfo.lastLoginPwdErrTime" clearable size="mini" :disabled="true"></el-input>
    </div>
    <!-- <el-button type="primary" size="mini" v-preventReClick>{{$t('restpwd')}}</el-button> -->
  </div>
</template>

<script>
import Cookies from 'js-cookie'
export default {
  data () {
    return {
      userInfo: null
    }
  },
  methods: {},
  mounted () {
      this.userInfo = JSON.parse(Cookies.get('userinfo'))
  }
}
</script>

<style lang="less" scoped>
.sup {
  position: relative;
  margin-top: 25px;
  margin-left: 40px;
  .el-input {
    position: absolute;
    right: 350px;
    width: 200px;
  }
}
.el-button {
  margin-top: 40px;
  margin-left: 300px;
}
</style>
